package com.example.springbott.service;

import com.example.springbott.bean.MarketAdmin;
import com.example.springbott.bean.common.BasePageInfo;
import com.example.springbott.bean.common.CommonData;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface AdminAdminService {
    CommonData adminAdminList(BasePageInfo basePageInfo, String username);

    MarketAdmin adminAdminCreate(MarketAdmin marketAdmin, MultipartFile file)throws IOException;

    MarketAdmin adminAdminUpdate(MarketAdmin marketAdmin);

    void adminAdminDelete(MarketAdmin marketAdmin);
}
